package com.demo.resourcecode.c5;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

public class LookupMethodDemo {

	public static void main(String[] args) {
		BeanFactory bf = new XmlBeanFactory(new ClassPathResource("lookupmethod.xml"));
		LoopupMethod loopupMethod = bf.getBean(LoopupMethod.class);
		loopupMethod.changeMe();
		loopupMethod.showMe();
	}

}
